import request from "@/network/request";

export function queryVipByCard(cardId) {
  return request({
    url: '/vip?cardId=' + cardId,
    method: 'get'
  })
}

export function registerVip(name, cardId, phone) {
  return request({
    url: '/vip',
    method: 'post',
    data: {
      name,
      cardId,
      phone
    }
  })
}
